/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86184
 * Date: 2023-01-24
 * Time: 21:25
 */
public class Three_printing_methods {
    public static void main(String[] args) {
        System.out.println("zhouwenjun");  //ln为换行
        System.out.println("18sui");

        System.out.printf("%d\n",10);   //类似与C语言的打印方法也可以
        System.out.printf("%s\n","zhouwenjun");

        System.out.print("zhouwenjun");  //去掉ln就是不换行
        System.out.print(" 18sui");
    }
}
